import { Group } from "@/api/interface/index";
import http from "@/api";

/**
 * @name 群组管理模块
 */
// 获取群组/频道列表
export const getGroupsApi = (params: Group.GroupForm) =>
  http.get<Group.ResGroup>(`/group/getGroupList`, params, { loading: true });
